package com.lcy.web.dao.mapper;

import com.lcy.web.dao.po.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author loucy
 */
public interface UserMapper {
    int count();
    User getUserRolesById(@Param("id") int userId);
    User getUserRolesByName(@Param("name") String  userName);
    List<String> getRoleNames(@Param("ids") String ids);



}
